import { createStore } from 'redux'
import reducers from './reducers/index.'
import { composeWithDevTools } from 'redux-devtools-extension'

const store = 
    process.env.NODE_ENV === 'development'
        ?createStore(reducers,composeWithDevTools())
        : createStore(reducers)

export default store